package com.xsmart.oa.dao.mall.commom;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface RegionDao {

    @Select("select region_name as label,region_id as value,parent_id as parentId,region_type as regionType from region")
    List<Map<String,Object>> getRegionList();


}
